<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro" lang="en" th:with="unixstamp=${#dates.createNow().time}">
<head th:replace="common::header"></head>
<body>
	<div class="layui-fluid">
		<div class="layui-row">
			<div class="layui-col-md12">
				<div class="layui-card">
					<div class="layui-card-header t-title layui-bg-cyan mlk-title">积分抽奖参数管理</div>
					<div class="layui-card-body">
						<table class="layui-table" id="table" lay-filter="table" style="height:100%;"></table>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>


<div id="updateLayer" class="mlk-hide">
    <form class="layui-form layui-form-pane" lay-filter="addForm" id="addForm">
        <input type="hidden" name="id">
        <div class="layui-form-item" pane>
            <label class="layui-form-label">积分数</label>
            <div class="layui-input-block">
                <input type="text" name="amount" required lay-verify="required" placeholder="请输入积分数" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item" pane>
            <label class="layui-form-label">中奖权重(整数)</label>
            <div class="layui-input-block">
                <input type="text" name="rate" required lay-verify="required" placeholder="请输入中奖权重" autocomplete="off" class="layui-input">
            </div>
        </div>
    </form>
</div>
<script type="text/html" id="tool">
    <a class="layui-btn layui-btn-sm" lay-event="update">更新</a>
</script>
<div th:include="common::footer"></div>
<script type="text/javascript" th:src="@{/js/bet/bet.js}"></script>
</html>